#pragma once

#include <QObject>
#include <QString>

class RsgisPortal : public QObject
{
    Q_OBJECT
    //Q_INTERFACES(ctkEventHandler)

public:
	RsgisPortal(quint16 iPort, QObject *context = nullptr);
	quint16 iPortAddress;

	void goAhead(QVariantList QArgList);

	void CallResult();

	//void CallforResult();
protected:
    void handleEvent(const QObject& event);
    void initSystem();
	void mainSystem();
	

signals:
    void initUi();

public slots:
    void onChangeLanguage();

private:

    QObject *m_context;
	//RsImageProxy* m_clientUi;
};


